package thread;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 74646
 * Date: 2022-04-23
 * Time: 12:07
 */
//使用 lambda 表达式创建线程对象
public class TestDemo6 {
    public static void main(String[] args) {
        Thread t = new Thread(()->{
            System.out.println("使用 lambda 表达式创建线程对象");
        });
        t.start();
    }
}
